package com.hhit.bigscreenbackmanage.dao.aqgl;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.hhit.bigscreenbackmanage.entity.aqgl.TAqglJdjcqkSblz;
import com.hhit.bigscreenbackmanage.entity.aqgl.TAqglJdjcqkYcjc;
import com.hhit.bigscreenbackmanage.vo.aqgl.AqglSearchVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AqglJdjcqkSblzDao {

    /**
     * @Description: 批量插入数据
     * @Author: qianchengcheng
     * @Date: 2021/7/27 21:32
     * @Param: [aqglJdjcqkList]
     * @Return: int
     **/
    int batchInsertAqglJdjcqkSblz(@Param("list") List<TAqglJdjcqkSblz> aqglJdjcqkSblzList) throws Exception;

    /**
     * @Description: 根据datetime获取主键编号
     * @Author: qianchengcheng
     * @Date: 2021/7/27 21:34
     * @Param: [datetime]
     * @Return: java.util.List<java.lang.String>
     **/
    List<String> getAqglJdjcqkSblzIdsByDateTime(@Param("datetime") String datetime) throws Exception;

    /**
     * @Description: 批量删除
     * @Author: qianchengcheng
     * @Date: 2021/7/27 21:35
     * @Param: [ids]
     * @Return: int
     **/
    int batchDeleteAqglJdjcqkSblz(@Param("ids") List<String> ids,@Param("datetime") String datetime) throws Exception;

    /**
     * @Description:
     * @Author: qianchengcheng 
     * @Date: 2021/8/5 16:33
     * @Param: [param] 
     * @Return: java.util.List<com.hhit.bigscreenbackmanage.entity.aqgl.TAqglJdjcqkSblz>
     **/
    List<TAqglJdjcqkSblz> getAqglJdjcqkSblzListByParam(Map<String,Object> param) throws Exception;

    /**
     * 查询监督检查情况
     * @param aqglSearchVo
     * @return
     * @throws Exception
     */
    List<TAqglJdjcqkSblz> getAqglJdjcqkSblzPageInfo(AqglSearchVo aqglSearchVo) throws Exception;

}
